Everything Totally Explained


Ask & we'll explain, totally!
Binding (computer science)
Totally Explained


  NEW! All the latest news in the worlds of computer gaming, entertainment, the environment,  
finance, health, politics, science, stocks & shares, technology and much, much, more.  


View this entry using RSS

Everything about Binding Computer Science totally explained

In computer science, binding is the creation of a simple reference to something that's larger and more complicated and used frequently. The simple reference can be used instead of having to repeat the larger thing. A binding is such a reference.

Types of binding

The following are commonly referred to as bindings.

Language or Name binding

The terms language binding and name binding refer to both the linking of libraries to application programs, and to the way symbols (variable names) are handled by compilers.
   In programming languages, these terms mean the references of an identifier to a value. In this context, binding is the act of associating a name or symbol with a machine address, and this association may occur either at compile time, in which case it's called 'static linking', or it may occur dynamically at runtime, which is called 'dynamic linking'. The terms binding and linking are used interchangeably in some contexts.
   Static binding has an additional characteristic: it prevents libraries from being updated (recompiled) independently of applications.

XML data binding

Command binding

Command bindings, commonly referred to as keyboard macros, or simply macros, are frequently built into professional quality computer applications. In many of these, bindings can be modified or added, but usually can not be removed (for example, the keystroke combination can't be unassociated from the function with which it's associated).
   As an example of a command binding, most applications on Mac OS bind the "Save" menu item to the Command-S keyboard shortcut, so that Command-S can be used to save a document instead of having to navigate to that menu item each time. The Emacs text editor binds the "save-buffers-kill-emacs" command to the Control-X Control-C keystrokes in sequence, so that the user doesn't have to type "save-buffers-kill-emacs" whenever he/she wants to save and quit. Some computer applications, such as Microsoft Excel, allow the user to create a macro to do several common operations in sequence, and then bind a simple command to that macro to activate it. Control bindings also exist in video games. A game might have a "shoot" control, which can be bound to any available key. A game like Tribes with complicated in-game menus can bind specific sequences of keys as shortcuts to menu items.

Further Information

Get more info on 'Binding Computer Science'.


External Link Exchanges

Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:

    <a href="http://binding__computer_science.totallyexplained.com">Binding (computer science) Totally Explained</a>

Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
   As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned.



Copyright © 2007-8 totallyexplained.com | Licensed under the GNU Free Documentation License | Site Map
This article contains text from the Wikipedia article Binding (computer science) (History) and is released under the GFDL | RSS Version